-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flaky IT test on range query in RestMLInferenceSearchRequestProcessorIT #3598
Conversation
83a44b5
to
ae7ef1b
Compare
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
ae7ef1b
to
7bf6626
Compare
flaky test not related to this change, rerun
|
@mingshl I'm seeing to fail these tests in other PRs as well:
Could you please check? I feel like these aren't flaky tests. It's failing here as well: https://github.com/opensearch-project/ml-commons/actions/runs/13598168388/job/38019496540?pr=3597 |
Tests are failing here too: https://github.com/opensearch-project/ml-commons/actions/runs/13576646226/job/37971082585?pr=3595#logs |
@dhrubo-os this test is failing everywhere, but it's not related to search processors, it's the model interface related to cohere 116 tests completed, 1 failed, 11 skipped
|
Cohere one is an issue and I fixed it in this PR: #3602 |
Signed-off-by: Mingshi Liu <mingshl@amazon.com> (cherry picked from commit 4512e0a)
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-3598-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4512e0ae34fd25fd1a5236c23aba48259f7fc2aa
# Push it to GitHub
git push --set-upstream origin backport/backport-3598-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
#3595) * fix optional mappings in ml inference search processors (#3587) * fix optional mappings Signed-off-by: Mingshi Liu <mingshl@amazon.com> * use collections and add more assertion tests Signed-off-by: Mingshi Liu <mingshl@amazon.com> * validate query return false Signed-off-by: Mingshi Liu <mingshl@amazon.com> --------- Signed-off-by: Mingshi Liu <mingshl@amazon.com> (cherry picked from commit b22e61a) * fix flaky test (#3598) Signed-off-by: Mingshi Liu <mingshl@amazon.com> --------- Signed-off-by: Mingshi Liu <mingshl@amazon.com> Co-authored-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Description
Earlier the RestMLInferenceSearchRequestProcessorIT has an IT test rewrites to a range query searching on a keyword field, it's flaky, so change to querying an integer field to return stable search result.
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.